
CFLAGS = -g -Wall -Wextra $(OFLAGS) $(XFLAGS)
OFLAGS = -DDEBUG
PACKCC=./packcc


all : vcg

# option --debug to packcc

vcg: vcg.peg
	$(PACKCC) --debug vcg.peg
	$(CC) $(CFLAGS) vcg.c -o vcg
	cat t.vcg |./vcg

clean :
	rm -f *~ *.o
	rm -v -f vcg
	rm -v -f vcg.c
	rm -v -f vcg.h

